import request from '@/utils/request'

//添加评论
export function addComment(comment) {
    return request({
        url: `/comment/add`,
        method: 'post',
        data: comment
    })
}

//获取评论
export function getComments(albumId,order) {
    return request({
        url: `/comment/selectAll/${albumId}/${order}`,
        method: 'get'
    })
}